<div id="menu">
    <ul>
        <li {if $selected=='/'}class="current_page_item"{/if}><a href="{$URL_ROOT}">Home</a></li>
        <li {if $selected=='cadastro'}class="current_page_item"{/if}><a href="{$URL_ROOT}cadastro"><span class="flow_number">1)</span>Meu Cadastro</a></li>
        <li {if $selected=='dados'}class="current_page_item"{/if}><a href="{$URL_ROOT}dados"><span class="flow_number">2)</span>Dados</a></li>
        <li {if $selected=='grades'}class="current_page_item"{/if}><a href="{$URL_ROOT}grades"><span class="flow_number">3)</span>Gerar/Ver Grades</a></li>
        <li {if $selected=='exportar'}class="current_page_item"{/if}><a href="{$URL_ROOT}exportar"><span class="flow_number">4)</span>Compartilhar/Exportar</a></li>
        <li {if $selected=='blog'}class="current_page_item"{/if}><a href="{$URL_ROOT}blog">Blog</a></li>
        <li {if $selected=='contato'}class="current_page_item"{/if}><a href="{$URL_ROOT}contato">Contato</a></li>
        {if Model_User::logged_in(Kohana::$config->load("grademagica")->webuser_role_name)} 
            <li><a href="{$URL_ROOT}cadastro/logout">{__ t='Logout'}</a></li>
        {/if}
    </ul>
</div>